package com.qunar.support.util;

import java.sql.Connection;
import java.sql.DriverManager;

public class DBHelper {
	private static  Connection conn;

	public static Connection getConnection() {
		try {
			if (conn == null) {
				Class.forName("org.logicalcobwebs.proxool.ProxoolDriver");
				conn=DriverManager.getConnection("proxool.support");
			}
		} catch (Exception e) {
			e.printStackTrace();
		}
		return conn;
	}
}
